package com.zds.ftp.result;

import lombok.Data;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

@Data
public class Folder {
    private String currentPath;
    private List<FileItem> files;
    private String separator = File.separator;

    public List<FileItem> getFiles() {
        return files == null ? new ArrayList<>() : files;
    }
}
